-
Home
-
Enable Mastodon Apps
-
0.9.5
-
Code
-
Classes
- Access_Token_Storage
Total Complexity |
31 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
288 |
Lines of code |
139 |
Logical lines of code |
55 |
Comment lines |
114 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setAccessToken() |
S |
56 |
5 |
18 |
cleanupOldTokens() |
S |
54 |
3 |
22 |
getAll() |
S |
57 |
3 |
17 |
uninstall() |
S |
59 |
3 |
15 |
getAccessToken() |
S |
59 |
3 |
14 |
__construct() |
S |
59 |
2 |
15 |
was_used() |
S |
63 |
3 |
10 |
unsetAccessToken() |
S |
68 |
2 |
7 |
sanitize_token() |
S |
78 |
1 |
3 |
sanitize_client_id() |
S |
78 |
1 |
3 |
sanitize_redirect_uri() |
S |
78 |
1 |
3 |
sanitize_scope() |
S |
78 |
1 |
3 |
sanitize_user_id() |
S |
80 |
1 |
3 |
sanitize_expires() |
S |
80 |
1 |
3 |
sanitize_last_used() |
S |
80 |
1 |
3 |